cmake_minimum_required(VERSION 3.27)
project(string_utility C)

set(CMAKE_C_STANDARD 23)

# Library
add_library(string_utility STATIC string-utility.c)

# Executable for tests
add_executable(string_utility_test test.c)
target_link_libraries(string_utility_test PRIVATE string_utility)